Battery Cell Balancing And State Of Charge Estimation